package com.wenli.graduate2022.wenliGreenShop.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

/**管理类
 * @author HuangHai
 * @date 2021/10/5 14:04
 */
@Data
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler" }) //在实体类上用该注解，忽略因有属性为null而带来的json序列化报错问题
public class Admin implements Serializable {
    private Integer adminId;
    private String adminName;
    private String adminNickname;
    private String adminPassword;
    private String adminProfilePictureSrc;
}
